include( "shared.lua" )

function ENT:Initialize()

end

function ENT:Draw()
        self.Entity:SetRenderBounds( Vector(-1000,-1000,-1000), Vector(1000,1000,1000) )

        local pos = self.Entity:GetPos() + self.Entity:GetUp() * 50
        local ang = self.Entity:GetAngles() + Angle(0,0,90)

        cam.Start3D2D(pos, ang, 1)
                surface.SetDrawColor(Color(195,195,195,255))
                surface.DrawRect(-100, -100, 200, 150)

                surface.SetDrawColor(Color(0,162,232,255))
                surface.DrawRect(-100, -100, 200, 12)

        cam.End3D2D()

        --[[cam.Start3D2D(pos, ang, 1)
                surface.SetDrawColor(Color(0,162,232,255))
                surface.DrawRect(-100, -200, 200, 12)
        cam.End3D2D()]]

        cam.Start3D2D(pos, ang, 0.4)
                draw.SimpleText("Rules For Citron Gamers", "ScoreboardHead", 0, -250, Color(255,255,255), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
                draw.SimpleText("1. Do Not Minge!", "Scoreboard", 0, -175, Color(15,15,15), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
                draw.SimpleText("2. Join the site at", "Scoreboard", 0, -125, Color(15,15,15), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)
                draw.SimpleText("www.citrongamers.com", "Scoreboard", 0, -75, Color(255,15,15), TEXT_ALIGN_CENTER, TEXT_ALIGN_CENTER)



        cam.End3D2D()

        --[[cam.Start3D2D(pos, ang, 0.4)
                draw.SimpleText("Server", "UIBold", -196, 6, Color(0,124,191,255), TEXT_ALIGN_LEFT, TEXT_ALIGN_CENTER)
        cam.End3D2D()]]

        local PlayerPos = 60
        local i = 1
        local add = 0

        return true
end

function ENT:Think()
        return true
end

function ENT:OnRemove()

end

function ENT:DrawEntityOutline( size )

end
